var baz = 3;
var bazz = {
  baz: 2,
  getbaz: function () {
    return this.baz;
  },
};
console.log(bazz.getbaz()); //2
var g = bazz.getbaz;
console.log(g)//是个函数
console.log(g()); //3
